import java.util.Scanner;
/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class TestDemo {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        System.out.println("year=" + str.substring(0,4));
        System.out.println("month=" + str.substring(4,6));
        System.out.println("date=" + str.substring(6,8));
    }
}
